/*
 * XML Type:  StatementTransaction
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.StatementTransaction
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04.impl;
/**
 * An XML StatementTransaction(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public class StatementTransactionImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.ofx.types.x2003.x04.StatementTransaction
{
    
    public StatementTransactionImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TRNTYPE$0 = 
        new javax.xml.namespace.QName("", "TRNTYPE");
    private static final javax.xml.namespace.QName DTPOSTED$2 = 
        new javax.xml.namespace.QName("", "DTPOSTED");
    private static final javax.xml.namespace.QName DTUSER$4 = 
        new javax.xml.namespace.QName("", "DTUSER");
    private static final javax.xml.namespace.QName DTAVAIL$6 = 
        new javax.xml.namespace.QName("", "DTAVAIL");
    private static final javax.xml.namespace.QName TRNAMT$8 = 
        new javax.xml.namespace.QName("", "TRNAMT");
    private static final javax.xml.namespace.QName FITID$10 = 
        new javax.xml.namespace.QName("", "FITID");
    private static final javax.xml.namespace.QName CORRECTFITID$12 = 
        new javax.xml.namespace.QName("", "CORRECTFITID");
    private static final javax.xml.namespace.QName CORRECTACTION$14 = 
        new javax.xml.namespace.QName("", "CORRECTACTION");
    private static final javax.xml.namespace.QName SRVRTID$16 = 
        new javax.xml.namespace.QName("", "SRVRTID");
    private static final javax.xml.namespace.QName CHECKNUM$18 = 
        new javax.xml.namespace.QName("", "CHECKNUM");
    private static final javax.xml.namespace.QName REFNUM$20 = 
        new javax.xml.namespace.QName("", "REFNUM");
    private static final javax.xml.namespace.QName SIC$22 = 
        new javax.xml.namespace.QName("", "SIC");
    private static final javax.xml.namespace.QName PAYEEID$24 = 
        new javax.xml.namespace.QName("", "PAYEEID");
    private static final javax.xml.namespace.QName NAME$26 = 
        new javax.xml.namespace.QName("", "NAME");
    private static final javax.xml.namespace.QName PAYEE$28 = 
        new javax.xml.namespace.QName("", "PAYEE");
    private static final javax.xml.namespace.QName BANKACCTTO$30 = 
        new javax.xml.namespace.QName("", "BANKACCTTO");
    private static final javax.xml.namespace.QName CCACCTTO$32 = 
        new javax.xml.namespace.QName("", "CCACCTTO");
    private static final javax.xml.namespace.QName MEMO$34 = 
        new javax.xml.namespace.QName("", "MEMO");
    private static final javax.xml.namespace.QName CURRENCY$36 = 
        new javax.xml.namespace.QName("", "CURRENCY");
    private static final javax.xml.namespace.QName ORIGCURRENCY$38 = 
        new javax.xml.namespace.QName("", "ORIGCURRENCY");
    private static final javax.xml.namespace.QName INV401KSOURCE$40 = 
        new javax.xml.namespace.QName("", "INV401KSOURCE");
    
    
    /**
     * Gets the "TRNTYPE" element
     */
    public net.ofx.types.x2003.x04.TransactionEnum.Enum getTRNTYPE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TRNTYPE$0, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.TransactionEnum.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "TRNTYPE" element
     */
    public net.ofx.types.x2003.x04.TransactionEnum xgetTRNTYPE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.TransactionEnum target = null;
            target = (net.ofx.types.x2003.x04.TransactionEnum)get_store().find_element_user(TRNTYPE$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "TRNTYPE" element
     */
    public void setTRNTYPE(net.ofx.types.x2003.x04.TransactionEnum.Enum trntype)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TRNTYPE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TRNTYPE$0);
            }
            target.setEnumValue(trntype);
        }
    }
    
    /**
     * Sets (as xml) the "TRNTYPE" element
     */
    public void xsetTRNTYPE(net.ofx.types.x2003.x04.TransactionEnum trntype)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.TransactionEnum target = null;
            target = (net.ofx.types.x2003.x04.TransactionEnum)get_store().find_element_user(TRNTYPE$0, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.TransactionEnum)get_store().add_element_user(TRNTYPE$0);
            }
            target.set(trntype);
        }
    }
    
    /**
     * Gets the "DTPOSTED" element
     */
    public java.lang.String getDTPOSTED()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTPOSTED$2, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "DTPOSTED" element
     */
    public net.ofx.types.x2003.x04.DateTimeType xgetDTPOSTED()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTPOSTED$2, 0);
            return target;
        }
    }
    
    /**
     * Sets the "DTPOSTED" element
     */
    public void setDTPOSTED(java.lang.String dtposted)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTPOSTED$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DTPOSTED$2);
            }
            target.setStringValue(dtposted);
        }
    }
    
    /**
     * Sets (as xml) the "DTPOSTED" element
     */
    public void xsetDTPOSTED(net.ofx.types.x2003.x04.DateTimeType dtposted)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTPOSTED$2, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.DateTimeType)get_store().add_element_user(DTPOSTED$2);
            }
            target.set(dtposted);
        }
    }
    
    /**
     * Gets the "DTUSER" element
     */
    public java.lang.String getDTUSER()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTUSER$4, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "DTUSER" element
     */
    public net.ofx.types.x2003.x04.DateTimeType xgetDTUSER()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTUSER$4, 0);
            return target;
        }
    }
    
    /**
     * True if has "DTUSER" element
     */
    public boolean isSetDTUSER()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(DTUSER$4) != 0;
        }
    }
    
    /**
     * Sets the "DTUSER" element
     */
    public void setDTUSER(java.lang.String dtuser)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTUSER$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DTUSER$4);
            }
            target.setStringValue(dtuser);
        }
    }
    
    /**
     * Sets (as xml) the "DTUSER" element
     */
    public void xsetDTUSER(net.ofx.types.x2003.x04.DateTimeType dtuser)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTUSER$4, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.DateTimeType)get_store().add_element_user(DTUSER$4);
            }
            target.set(dtuser);
        }
    }
    
    /**
     * Unsets the "DTUSER" element
     */
    public void unsetDTUSER()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(DTUSER$4, 0);
        }
    }
    
    /**
     * Gets the "DTAVAIL" element
     */
    public java.lang.String getDTAVAIL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTAVAIL$6, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "DTAVAIL" element
     */
    public net.ofx.types.x2003.x04.DateTimeType xgetDTAVAIL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTAVAIL$6, 0);
            return target;
        }
    }
    
    /**
     * True if has "DTAVAIL" element
     */
    public boolean isSetDTAVAIL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(DTAVAIL$6) != 0;
        }
    }
    
    /**
     * Sets the "DTAVAIL" element
     */
    public void setDTAVAIL(java.lang.String dtavail)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DTAVAIL$6, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DTAVAIL$6);
            }
            target.setStringValue(dtavail);
        }
    }
    
    /**
     * Sets (as xml) the "DTAVAIL" element
     */
    public void xsetDTAVAIL(net.ofx.types.x2003.x04.DateTimeType dtavail)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.DateTimeType target = null;
            target = (net.ofx.types.x2003.x04.DateTimeType)get_store().find_element_user(DTAVAIL$6, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.DateTimeType)get_store().add_element_user(DTAVAIL$6);
            }
            target.set(dtavail);
        }
    }
    
    /**
     * Unsets the "DTAVAIL" element
     */
    public void unsetDTAVAIL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(DTAVAIL$6, 0);
        }
    }
    
    /**
     * Gets the "TRNAMT" element
     */
    public java.lang.String getTRNAMT()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TRNAMT$8, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "TRNAMT" element
     */
    public net.ofx.types.x2003.x04.AmountType xgetTRNAMT()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AmountType target = null;
            target = (net.ofx.types.x2003.x04.AmountType)get_store().find_element_user(TRNAMT$8, 0);
            return target;
        }
    }
    
    /**
     * Sets the "TRNAMT" element
     */
    public void setTRNAMT(java.lang.String trnamt)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TRNAMT$8, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TRNAMT$8);
            }
            target.setStringValue(trnamt);
        }
    }
    
    /**
     * Sets (as xml) the "TRNAMT" element
     */
    public void xsetTRNAMT(net.ofx.types.x2003.x04.AmountType trnamt)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AmountType target = null;
            target = (net.ofx.types.x2003.x04.AmountType)get_store().find_element_user(TRNAMT$8, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.AmountType)get_store().add_element_user(TRNAMT$8);
            }
            target.set(trnamt);
        }
    }
    
    /**
     * Gets the "FITID" element
     */
    public java.lang.String getFITID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FITID$10, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "FITID" element
     */
    public net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType xgetFITID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType target = null;
            target = (net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType)get_store().find_element_user(FITID$10, 0);
            return target;
        }
    }
    
    /**
     * Sets the "FITID" element
     */
    public void setFITID(java.lang.String fitid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FITID$10, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FITID$10);
            }
            target.setStringValue(fitid);
        }
    }
    
    /**
     * Sets (as xml) the "FITID" element
     */
    public void xsetFITID(net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType fitid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType target = null;
            target = (net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType)get_store().find_element_user(FITID$10, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType)get_store().add_element_user(FITID$10);
            }
            target.set(fitid);
        }
    }
    
    /**
     * Gets the "CORRECTFITID" element
     */
    public java.lang.String getCORRECTFITID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CORRECTFITID$12, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "CORRECTFITID" element
     */
    public net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType xgetCORRECTFITID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType target = null;
            target = (net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType)get_store().find_element_user(CORRECTFITID$12, 0);
            return target;
        }
    }
    
    /**
     * True if has "CORRECTFITID" element
     */
    public boolean isSetCORRECTFITID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(CORRECTFITID$12) != 0;
        }
    }
    
    /**
     * Sets the "CORRECTFITID" element
     */
    public void setCORRECTFITID(java.lang.String correctfitid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CORRECTFITID$12, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CORRECTFITID$12);
            }
            target.setStringValue(correctfitid);
        }
    }
    
    /**
     * Sets (as xml) the "CORRECTFITID" element
     */
    public void xsetCORRECTFITID(net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType correctfitid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType target = null;
            target = (net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType)get_store().find_element_user(CORRECTFITID$12, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.FinancialInstitutionTransactionIdType)get_store().add_element_user(CORRECTFITID$12);
            }
            target.set(correctfitid);
        }
    }
    
    /**
     * Unsets the "CORRECTFITID" element
     */
    public void unsetCORRECTFITID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(CORRECTFITID$12, 0);
        }
    }
    
    /**
     * Gets the "CORRECTACTION" element
     */
    public net.ofx.types.x2003.x04.CorrectiveActionEnum.Enum getCORRECTACTION()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CORRECTACTION$14, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.CorrectiveActionEnum.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "CORRECTACTION" element
     */
    public net.ofx.types.x2003.x04.CorrectiveActionEnum xgetCORRECTACTION()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.CorrectiveActionEnum target = null;
            target = (net.ofx.types.x2003.x04.CorrectiveActionEnum)get_store().find_element_user(CORRECTACTION$14, 0);
            return target;
        }
    }
    
    /**
     * True if has "CORRECTACTION" element
     */
    public boolean isSetCORRECTACTION()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(CORRECTACTION$14) != 0;
        }
    }
    
    /**
     * Sets the "CORRECTACTION" element
     */
    public void setCORRECTACTION(net.ofx.types.x2003.x04.CorrectiveActionEnum.Enum correctaction)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CORRECTACTION$14, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CORRECTACTION$14);
            }
            target.setEnumValue(correctaction);
        }
    }
    
    /**
     * Sets (as xml) the "CORRECTACTION" element
     */
    public void xsetCORRECTACTION(net.ofx.types.x2003.x04.CorrectiveActionEnum correctaction)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.CorrectiveActionEnum target = null;
            target = (net.ofx.types.x2003.x04.CorrectiveActionEnum)get_store().find_element_user(CORRECTACTION$14, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.CorrectiveActionEnum)get_store().add_element_user(CORRECTACTION$14);
            }
            target.set(correctaction);
        }
    }
    
    /**
     * Unsets the "CORRECTACTION" element
     */
    public void unsetCORRECTACTION()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(CORRECTACTION$14, 0);
        }
    }
    
    /**
     * Gets the "SRVRTID" element
     */
    public java.lang.String getSRVRTID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SRVRTID$16, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "SRVRTID" element
     */
    public net.ofx.types.x2003.x04.ServerIdType xgetSRVRTID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.ServerIdType target = null;
            target = (net.ofx.types.x2003.x04.ServerIdType)get_store().find_element_user(SRVRTID$16, 0);
            return target;
        }
    }
    
    /**
     * True if has "SRVRTID" element
     */
    public boolean isSetSRVRTID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(SRVRTID$16) != 0;
        }
    }
    
    /**
     * Sets the "SRVRTID" element
     */
    public void setSRVRTID(java.lang.String srvrtid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SRVRTID$16, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SRVRTID$16);
            }
            target.setStringValue(srvrtid);
        }
    }
    
    /**
     * Sets (as xml) the "SRVRTID" element
     */
    public void xsetSRVRTID(net.ofx.types.x2003.x04.ServerIdType srvrtid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.ServerIdType target = null;
            target = (net.ofx.types.x2003.x04.ServerIdType)get_store().find_element_user(SRVRTID$16, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.ServerIdType)get_store().add_element_user(SRVRTID$16);
            }
            target.set(srvrtid);
        }
    }
    
    /**
     * Unsets the "SRVRTID" element
     */
    public void unsetSRVRTID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(SRVRTID$16, 0);
        }
    }
    
    /**
     * Gets the "CHECKNUM" element
     */
    public java.lang.String getCHECKNUM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CHECKNUM$18, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "CHECKNUM" element
     */
    public net.ofx.types.x2003.x04.CheckNumberType xgetCHECKNUM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.CheckNumberType target = null;
            target = (net.ofx.types.x2003.x04.CheckNumberType)get_store().find_element_user(CHECKNUM$18, 0);
            return target;
        }
    }
    
    /**
     * True if has "CHECKNUM" element
     */
    public boolean isSetCHECKNUM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(CHECKNUM$18) != 0;
        }
    }
    
    /**
     * Sets the "CHECKNUM" element
     */
    public void setCHECKNUM(java.lang.String checknum)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CHECKNUM$18, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CHECKNUM$18);
            }
            target.setStringValue(checknum);
        }
    }
    
    /**
     * Sets (as xml) the "CHECKNUM" element
     */
    public void xsetCHECKNUM(net.ofx.types.x2003.x04.CheckNumberType checknum)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.CheckNumberType target = null;
            target = (net.ofx.types.x2003.x04.CheckNumberType)get_store().find_element_user(CHECKNUM$18, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.CheckNumberType)get_store().add_element_user(CHECKNUM$18);
            }
            target.set(checknum);
        }
    }
    
    /**
     * Unsets the "CHECKNUM" element
     */
    public void unsetCHECKNUM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(CHECKNUM$18, 0);
        }
    }
    
    /**
     * Gets the "REFNUM" element
     */
    public java.lang.String getREFNUM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFNUM$20, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "REFNUM" element
     */
    public net.ofx.types.x2003.x04.ReferenceNumberType xgetREFNUM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.ReferenceNumberType target = null;
            target = (net.ofx.types.x2003.x04.ReferenceNumberType)get_store().find_element_user(REFNUM$20, 0);
            return target;
        }
    }
    
    /**
     * True if has "REFNUM" element
     */
    public boolean isSetREFNUM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(REFNUM$20) != 0;
        }
    }
    
    /**
     * Sets the "REFNUM" element
     */
    public void setREFNUM(java.lang.String refnum)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFNUM$20, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REFNUM$20);
            }
            target.setStringValue(refnum);
        }
    }
    
    /**
     * Sets (as xml) the "REFNUM" element
     */
    public void xsetREFNUM(net.ofx.types.x2003.x04.ReferenceNumberType refnum)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.ReferenceNumberType target = null;
            target = (net.ofx.types.x2003.x04.ReferenceNumberType)get_store().find_element_user(REFNUM$20, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.ReferenceNumberType)get_store().add_element_user(REFNUM$20);
            }
            target.set(refnum);
        }
    }
    
    /**
     * Unsets the "REFNUM" element
     */
    public void unsetREFNUM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(REFNUM$20, 0);
        }
    }
    
    /**
     * Gets the "SIC" element
     */
    public java.lang.String getSIC()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SIC$22, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "SIC" element
     */
    public net.ofx.types.x2003.x04.StandardIndustryCodeType xgetSIC()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.StandardIndustryCodeType target = null;
            target = (net.ofx.types.x2003.x04.StandardIndustryCodeType)get_store().find_element_user(SIC$22, 0);
            return target;
        }
    }
    
    /**
     * True if has "SIC" element
     */
    public boolean isSetSIC()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(SIC$22) != 0;
        }
    }
    
    /**
     * Sets the "SIC" element
     */
    public void setSIC(java.lang.String sic)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SIC$22, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SIC$22);
            }
            target.setStringValue(sic);
        }
    }
    
    /**
     * Sets (as xml) the "SIC" element
     */
    public void xsetSIC(net.ofx.types.x2003.x04.StandardIndustryCodeType sic)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.StandardIndustryCodeType target = null;
            target = (net.ofx.types.x2003.x04.StandardIndustryCodeType)get_store().find_element_user(SIC$22, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.StandardIndustryCodeType)get_store().add_element_user(SIC$22);
            }
            target.set(sic);
        }
    }
    
    /**
     * Unsets the "SIC" element
     */
    public void unsetSIC()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(SIC$22, 0);
        }
    }
    
    /**
     * Gets the "PAYEEID" element
     */
    public java.lang.String getPAYEEID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PAYEEID$24, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "PAYEEID" element
     */
    public net.ofx.types.x2003.x04.PayeeIdType xgetPAYEEID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PayeeIdType target = null;
            target = (net.ofx.types.x2003.x04.PayeeIdType)get_store().find_element_user(PAYEEID$24, 0);
            return target;
        }
    }
    
    /**
     * True if has "PAYEEID" element
     */
    public boolean isSetPAYEEID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PAYEEID$24) != 0;
        }
    }
    
    /**
     * Sets the "PAYEEID" element
     */
    public void setPAYEEID(java.lang.String payeeid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PAYEEID$24, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PAYEEID$24);
            }
            target.setStringValue(payeeid);
        }
    }
    
    /**
     * Sets (as xml) the "PAYEEID" element
     */
    public void xsetPAYEEID(net.ofx.types.x2003.x04.PayeeIdType payeeid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PayeeIdType target = null;
            target = (net.ofx.types.x2003.x04.PayeeIdType)get_store().find_element_user(PAYEEID$24, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.PayeeIdType)get_store().add_element_user(PAYEEID$24);
            }
            target.set(payeeid);
        }
    }
    
    /**
     * Unsets the "PAYEEID" element
     */
    public void unsetPAYEEID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PAYEEID$24, 0);
        }
    }
    
    /**
     * Gets the "NAME" element
     */
    public java.lang.String getNAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAME$26, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "NAME" element
     */
    public net.ofx.types.x2003.x04.GenericNameType xgetNAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(NAME$26, 0);
            return target;
        }
    }
    
    /**
     * True if has "NAME" element
     */
    public boolean isSetNAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(NAME$26) != 0;
        }
    }
    
    /**
     * Sets the "NAME" element
     */
    public void setNAME(java.lang.String name)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAME$26, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NAME$26);
            }
            target.setStringValue(name);
        }
    }
    
    /**
     * Sets (as xml) the "NAME" element
     */
    public void xsetNAME(net.ofx.types.x2003.x04.GenericNameType name)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(NAME$26, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.GenericNameType)get_store().add_element_user(NAME$26);
            }
            target.set(name);
        }
    }
    
    /**
     * Unsets the "NAME" element
     */
    public void unsetNAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(NAME$26, 0);
        }
    }
    
    /**
     * Gets the "PAYEE" element
     */
    public net.ofx.types.x2003.x04.Payee getPAYEE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Payee target = null;
            target = (net.ofx.types.x2003.x04.Payee)get_store().find_element_user(PAYEE$28, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "PAYEE" element
     */
    public boolean isSetPAYEE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PAYEE$28) != 0;
        }
    }
    
    /**
     * Sets the "PAYEE" element
     */
    public void setPAYEE(net.ofx.types.x2003.x04.Payee payee)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Payee target = null;
            target = (net.ofx.types.x2003.x04.Payee)get_store().find_element_user(PAYEE$28, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.Payee)get_store().add_element_user(PAYEE$28);
            }
            target.set(payee);
        }
    }
    
    /**
     * Appends and returns a new empty "PAYEE" element
     */
    public net.ofx.types.x2003.x04.Payee addNewPAYEE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Payee target = null;
            target = (net.ofx.types.x2003.x04.Payee)get_store().add_element_user(PAYEE$28);
            return target;
        }
    }
    
    /**
     * Unsets the "PAYEE" element
     */
    public void unsetPAYEE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PAYEE$28, 0);
        }
    }
    
    /**
     * Gets the "BANKACCTTO" element
     */
    public net.ofx.types.x2003.x04.BankAccount getBANKACCTTO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BankAccount target = null;
            target = (net.ofx.types.x2003.x04.BankAccount)get_store().find_element_user(BANKACCTTO$30, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "BANKACCTTO" element
     */
    public boolean isSetBANKACCTTO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(BANKACCTTO$30) != 0;
        }
    }
    
    /**
     * Sets the "BANKACCTTO" element
     */
    public void setBANKACCTTO(net.ofx.types.x2003.x04.BankAccount bankacctto)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BankAccount target = null;
            target = (net.ofx.types.x2003.x04.BankAccount)get_store().find_element_user(BANKACCTTO$30, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.BankAccount)get_store().add_element_user(BANKACCTTO$30);
            }
            target.set(bankacctto);
        }
    }
    
    /**
     * Appends and returns a new empty "BANKACCTTO" element
     */
    public net.ofx.types.x2003.x04.BankAccount addNewBANKACCTTO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BankAccount target = null;
            target = (net.ofx.types.x2003.x04.BankAccount)get_store().add_element_user(BANKACCTTO$30);
            return target;
        }
    }
    
    /**
     * Unsets the "BANKACCTTO" element
     */
    public void unsetBANKACCTTO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(BANKACCTTO$30, 0);
        }
    }
    
    /**
     * Gets the "CCACCTTO" element
     */
    public net.ofx.types.x2003.x04.CreditCardAccount getCCACCTTO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.CreditCardAccount target = null;
            target = (net.ofx.types.x2003.x04.CreditCardAccount)get_store().find_element_user(CCACCTTO$32, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "CCACCTTO" element
     */
    public boolean isSetCCACCTTO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(CCACCTTO$32) != 0;
        }
    }
    
    /**
     * Sets the "CCACCTTO" element
     */
    public void setCCACCTTO(net.ofx.types.x2003.x04.CreditCardAccount ccacctto)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.CreditCardAccount target = null;
            target = (net.ofx.types.x2003.x04.CreditCardAccount)get_store().find_element_user(CCACCTTO$32, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.CreditCardAccount)get_store().add_element_user(CCACCTTO$32);
            }
            target.set(ccacctto);
        }
    }
    
    /**
     * Appends and returns a new empty "CCACCTTO" element
     */
    public net.ofx.types.x2003.x04.CreditCardAccount addNewCCACCTTO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.CreditCardAccount target = null;
            target = (net.ofx.types.x2003.x04.CreditCardAccount)get_store().add_element_user(CCACCTTO$32);
            return target;
        }
    }
    
    /**
     * Unsets the "CCACCTTO" element
     */
    public void unsetCCACCTTO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(CCACCTTO$32, 0);
        }
    }
    
    /**
     * Gets the "MEMO" element
     */
    public java.lang.String getMEMO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MEMO$34, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "MEMO" element
     */
    public net.ofx.types.x2003.x04.MessageType xgetMEMO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.MessageType target = null;
            target = (net.ofx.types.x2003.x04.MessageType)get_store().find_element_user(MEMO$34, 0);
            return target;
        }
    }
    
    /**
     * True if has "MEMO" element
     */
    public boolean isSetMEMO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(MEMO$34) != 0;
        }
    }
    
    /**
     * Sets the "MEMO" element
     */
    public void setMEMO(java.lang.String memo)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MEMO$34, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MEMO$34);
            }
            target.setStringValue(memo);
        }
    }
    
    /**
     * Sets (as xml) the "MEMO" element
     */
    public void xsetMEMO(net.ofx.types.x2003.x04.MessageType memo)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.MessageType target = null;
            target = (net.ofx.types.x2003.x04.MessageType)get_store().find_element_user(MEMO$34, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.MessageType)get_store().add_element_user(MEMO$34);
            }
            target.set(memo);
        }
    }
    
    /**
     * Unsets the "MEMO" element
     */
    public void unsetMEMO()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(MEMO$34, 0);
        }
    }
    
    /**
     * Gets the "CURRENCY" element
     */
    public net.ofx.types.x2003.x04.Currency getCURRENCY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Currency target = null;
            target = (net.ofx.types.x2003.x04.Currency)get_store().find_element_user(CURRENCY$36, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "CURRENCY" element
     */
    public boolean isSetCURRENCY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(CURRENCY$36) != 0;
        }
    }
    
    /**
     * Sets the "CURRENCY" element
     */
    public void setCURRENCY(net.ofx.types.x2003.x04.Currency currency)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Currency target = null;
            target = (net.ofx.types.x2003.x04.Currency)get_store().find_element_user(CURRENCY$36, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.Currency)get_store().add_element_user(CURRENCY$36);
            }
            target.set(currency);
        }
    }
    
    /**
     * Appends and returns a new empty "CURRENCY" element
     */
    public net.ofx.types.x2003.x04.Currency addNewCURRENCY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Currency target = null;
            target = (net.ofx.types.x2003.x04.Currency)get_store().add_element_user(CURRENCY$36);
            return target;
        }
    }
    
    /**
     * Unsets the "CURRENCY" element
     */
    public void unsetCURRENCY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(CURRENCY$36, 0);
        }
    }
    
    /**
     * Gets the "ORIGCURRENCY" element
     */
    public net.ofx.types.x2003.x04.Currency getORIGCURRENCY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Currency target = null;
            target = (net.ofx.types.x2003.x04.Currency)get_store().find_element_user(ORIGCURRENCY$38, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "ORIGCURRENCY" element
     */
    public boolean isSetORIGCURRENCY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ORIGCURRENCY$38) != 0;
        }
    }
    
    /**
     * Sets the "ORIGCURRENCY" element
     */
    public void setORIGCURRENCY(net.ofx.types.x2003.x04.Currency origcurrency)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Currency target = null;
            target = (net.ofx.types.x2003.x04.Currency)get_store().find_element_user(ORIGCURRENCY$38, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.Currency)get_store().add_element_user(ORIGCURRENCY$38);
            }
            target.set(origcurrency);
        }
    }
    
    /**
     * Appends and returns a new empty "ORIGCURRENCY" element
     */
    public net.ofx.types.x2003.x04.Currency addNewORIGCURRENCY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Currency target = null;
            target = (net.ofx.types.x2003.x04.Currency)get_store().add_element_user(ORIGCURRENCY$38);
            return target;
        }
    }
    
    /**
     * Unsets the "ORIGCURRENCY" element
     */
    public void unsetORIGCURRENCY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ORIGCURRENCY$38, 0);
        }
    }
    
    /**
     * Gets the "INV401KSOURCE" element
     */
    public net.ofx.types.x2003.x04.Investment401KSourceEnum.Enum getINV401KSOURCE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INV401KSOURCE$40, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.Investment401KSourceEnum.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "INV401KSOURCE" element
     */
    public net.ofx.types.x2003.x04.Investment401KSourceEnum xgetINV401KSOURCE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Investment401KSourceEnum target = null;
            target = (net.ofx.types.x2003.x04.Investment401KSourceEnum)get_store().find_element_user(INV401KSOURCE$40, 0);
            return target;
        }
    }
    
    /**
     * True if has "INV401KSOURCE" element
     */
    public boolean isSetINV401KSOURCE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(INV401KSOURCE$40) != 0;
        }
    }
    
    /**
     * Sets the "INV401KSOURCE" element
     */
    public void setINV401KSOURCE(net.ofx.types.x2003.x04.Investment401KSourceEnum.Enum inv401KSOURCE)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INV401KSOURCE$40, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INV401KSOURCE$40);
            }
            target.setEnumValue(inv401KSOURCE);
        }
    }
    
    /**
     * Sets (as xml) the "INV401KSOURCE" element
     */
    public void xsetINV401KSOURCE(net.ofx.types.x2003.x04.Investment401KSourceEnum inv401KSOURCE)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.Investment401KSourceEnum target = null;
            target = (net.ofx.types.x2003.x04.Investment401KSourceEnum)get_store().find_element_user(INV401KSOURCE$40, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.Investment401KSourceEnum)get_store().add_element_user(INV401KSOURCE$40);
            }
            target.set(inv401KSOURCE);
        }
    }
    
    /**
     * Unsets the "INV401KSOURCE" element
     */
    public void unsetINV401KSOURCE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(INV401KSOURCE$40, 0);
        }
    }
}
